//获取数组中的奇数
const oddNumbers =numbers => numbers.filter(number => number % 2 !== 0);
console.log(oddNumbers([1, 2, 3, 4, 5, 6])); // 输出 [1, 3, 5]